/*
 * Copyright 2007 Matt Jensen
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
 * the License. You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
 * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
 * specific language governing permissions and limitations under the License.
 */
package org.jtell.internal;

/**
 * <p>
 * <code>Constants</code> defines various internal constants for the library.
 * </p>
 */
public interface Constants
{
    /**
     * <p>
     * Default event class name.
     * </p>
     */
    static final String DEFAULT_EVENT_CLASS_NAME = Object.class.getName();

    /**
     * <p>
     * Default source class name.
     * </p>
     */
    static final String DEFAULT_SOURCE_CLASS_NAME = Object.class.getName();
    
    /**
     * <p>
     * Location in which listener metadata files are stored in application JAR files. 
     * </p>
     */
    static final String JTELL_METADATA_RESOURCE = "META-INF/jtell.xml";

    /**
     * <p>
     * The JTell XML namespace identifier.
     * </p>
     */
    static final String JTELL_NAMESPACE = "http://jtell.org/jtell";

    /**
     * <p>
     * Key for the predefined <em>event class</em> event attribute. 
     * </p>
     */
    static final String EVENT_CLASS_ATTRIBUTE = "event-class";

    /**
     * <p>
     * Key for the predefined <em>source class</em> source attribute. 
     * </p>
     */
    static final String SOURCE_CLASS_ATTRIBUTE = "source-class";
}
